//柔性数组
#include<stdio.h>
#include<stdlib.h>
typedef struct Test
{
	int i;
	int arr[];
}type;

int main()
{
	type* p = malloc(sizeof(type) + 100 * sizeof(int));
	if (!p) {
		perror("p");
		return -1;
	}
	for (int j = 0; j < 100; j++)
		p->arr[j] = j;

	for (int j = 0; j < 100; j++)
		printf("%d ", p->arr[j]);
	return 0;
}